﻿using System;
using System.Collections.Generic;
using System.Web;

namespace YourCompany.Modules.$safeprojectname$
{
    public class UIEventArgs<T> : EventArgs where T : class 
    {
        #region "Private Members"
        private T itemValue;
        #endregion

        #region "Constructor"
        /// <summary>
        /// Initializes a new instance of the <see cref="UIEventArgs&lt;T&gt;"/> class.
        /// </summary>
        /// <param name="item">The item.</param>
        public UIEventArgs(T item)
        {
            itemValue = item;
        }
        #endregion

        #region "Public Propertities"
        /// <summary>
        /// Gets or sets the item.
        /// </summary>
        /// <value>
        /// The item.
        /// </value>
        public T Item
        {
            get { return itemValue; }
            set { itemValue = value; }
        }
        #endregion
    }
}